package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("alarm_device")
public class AlarmDeviceMessagePo extends BaseEntity {
    @Schema(name = "deviceId",description = "运营云设备id")
    private String deviceId;//运营云设备id
    @Schema(name = "deviceName",description = "设备名称")
    private String deviceName;//设备名称
    @Schema(name = "deviceSn",description = "设备sn码")
    private String deviceSn;//设备sn码
    @Schema(name = "orgId",description = "组织id")
    private Long orgId;//组织id
    @Schema(name = "orgName",description = "组织名称")
    private String orgName;//组织名称
    @Schema(name = "alarmType",description = "报警类型")
    private String alarmType;//报警类型
    @Schema(name = "alarmLevel",description = "报警等级")
    private Integer alarmLevel;//报警等级
    @Schema(name = "alarmStatus",description = "消警状态 0 未消警 1 已消警")
    private Integer alarmStatus;//消警状态 0 未消警 1 已消警

    @Schema(name = "info",description = "Json格式的附加信息")
    private String info;//Json格式的附加信息
    @Schema(name = "alarmTime",description = "报警时间")
    private Long alarmTime;//报警时间
    @Schema(name = "handleTime",description = "处理时间")
    private String handleTime;//处理时间
    @Schema(name = "handleUserName",description = "处理⽤户id")
    private String handleUserName;//处理⽤户id
    @Schema(name = "handleStatus",description = "处理状态 1 待确认 2 已下发 3 已确认")
    private String handleStatus;//处理状态 1 待确认 2 已下发 3 已确认
    @Schema(name = "channelId",description = "通道id")
    private String channelId;//通道id
    @Schema(name = "deviceType",description = "设备⼤类 详⻅ 附录 1")
    private String deviceType;//设备⼤类 详⻅ 附录 1
    @Schema(name = "deviceSubType",description = "设备⼩类 详⻅ 附录 1")
    private String deviceSubType;//设备⼩类 详⻅ 附录 1
    @Schema(name = "status",description = "//在线状态1-在线，0-离线")
    private Integer status;//在线状态1-在线，0-离线
    @Schema(name = "manufacturer",description = "⽣产⼚家详⻅ 附录 3")
    private String manufacturer;//⽣产⼚家详⻅ 附录 3
    @Schema(name = "deviceOperate",description = "设备操作⾏为 0删除 1新增 没有")
    private Integer deviceOperate;//设备操作⾏为 0删除 1新增 没有

    @Schema(name = "type",description = "推送类型 1告警 2设备上下线 3 设备增删")
    private Integer type;
}
